package com.wind.weblog.admin.event;

import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @BelongsProject: wind-blog-admin
 * @BelongsPackage: com.wind.weblog.admin.event
 * @Author: shanzhengfei
 * @CreateTime: 2024-11-13  14:26
 * @Description: TODO
 * @Version: 1.0
 */

@Getter
public class DeleteArticleEvent extends ApplicationEvent {

    /**
     * 文章 ID
     */
    private Long articleId;

    public DeleteArticleEvent(Object source, Long articleId) {
        super(source);
        this.articleId = articleId;
    }
}
